#

pkgname=steadyflow
pkgver=0.1.7
pkgrel=1
pkgdesc="Simple download manager written in Vala"
arch=('ppc')
url="https://launchpad.net/steadyflow"
license=('GPL3')
depends=('libgee' 'glib2' 'gtk2' 'libunique' 'desktop-file-utils' \
				'libnotify' 'hicolor-icon-theme')
makedepends=('cmake' 'pkg-config' 'gettext' 'vala>=0.12.0')
install=${pkgname}.install
source=(http://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz)
md5sums=('f77769d5f344de8f961f3b1f8d06cc6c')

build() {
	cd ${srcdir}

	mkdir build ; cd build

	cmake ../${pkgname}-${pkgver} \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_SKIP_RPATH=ON \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCOMPILE_GSETTINGS_ON_INSTALL:BOOL=OFF \
		-DWANT_AYATANA:BOOL=OFF

	make
}

package() {
	cd $srcdir/build
	make DESTDIR=${pkgdir} install
}
